 // 自定义菜单开始----------------------------基础数据-----------------------------------
 {
    path:'/basis',
    name:'basis',
    routes:[
      {
        path:'/basis',
        redirect:'/basis/unit',
      },
      {
        path:'/basis/unit',
        name:'unit',
        component:'./basis/unit',
      },
      {
        path:'/basis/materialcategory',
        name:'materialcategory',
        component:'./basis/materialCategory',
      },
      {
        path:'/basis/material',
        name:'material',
        component:'./basis/material',
      },
      {
        path:'/basis/materialgroup',
        name:'materialgroup',
        component:'./basis/materialGroup',
      },
      {
        path:'/basis/customercategory',
        name:'customercategory',
        component:'./basis/customerCategory',
      },
      {
        path:'/basis/customer',
        name:'customer',
        component:'./basis/customer',
      },
      {
        path:'/basis/materialcustomer',
        name:'materialcustomer',
        component:'./basis/materialCustomer',
      },
      {
        path:'/basis/vendorcategory',
        name:'vendorcategory',
        component:'./basis/vendorCategory',
      },
      {
        path:'/basis/vendor',
        name:'vendor',
        component:'./basis/vendor',
      },
      {
        path:'/basis/materialvendor',
        name:'materialvendor',
        component:'./basis/materialVendor',
      },
      {
        path:'/basis/vcdocument',
        name:'vcdocument',
        component:'./basis/vcdocument',
      },
      {
        path:'/basis/area',
        name:'area',
        component:'./basis/area',
      },
      {
        path:'/basis/currency',
        name:'currency',
        component:'./basis/currency',
      },
      {
        path:'/basis/warehouse',
        name:'warehouse',
        component:'./basis/warehouse',
      },
      {
        path:'/basis/userdefine',
        name:'userdefine',
        routes:[
          {
            path:'/basis/userdefine',
            redirect:'/basis/userdefine/uitem',
          },
          {
            path:'/basis/userdefine/uitem',
            name:'uitem',
            component:'./basis/userdefine/uitem',
          },
          {
            path:'/basis/usedefine/udoc',
            name:'udoc',
            component:'./basis/userdefine/udoc',
          },
          {
            path:'/basis/usedefine/ugroup',
            name:'ugroup',
            component:'./basis/userdefine/ugroup',
          },
        ],
      },
    ],
  },
  // 采购业务----------------------------------------------------------
  {
    path:'/purchase',
    name:'purchase',
    routes:[
      {
      path:'/purchase',
      redirect:'/purchase/inquiryprice',
      },
      {
        path:'/purchase/inquiryprice',
        name:'inquiryprice',
        component:'./purchase/inquiryPrice',
      },
      {
        path:'/purchase/verifyprice',
        name:'verifyprice',
        component:'./purchase/verifyPrice',
      },
      {
        path:'/purchase/priceschedule',
        name:'priceschedule',
        component:'./purchase/priceSchedule',
      },
      {
        path:'/purchase/order',
        name:'order',
        component:'./purchase/order',
      },
      {
        path:'/purchase/purchasecar',
        name:'purchasecar',
        component:'./purchase/purchaseCar',
      },
      {
        path:'/purchase/report',
        name:'report',
        routes:[
          {
            path:'/purchase/report',
            redirect:'/purchase/report/inquiry',
          },
          {
            path:'/purchase/report/inquiry',
            name:'inquiry',
            component:'./purchase/report/inquiry',
          },
          {
            path:'/purchase/report/orderprogress',
            name:'orderprogress',
            component:'./purchase/report/orderProgress',
          },
          {
            path:'/purchase/report/pricepilot',
            name:'pricepilot',
            component:'./purchase/report/pricePilot',
          },
        ],
      },
   ],
  },
  // 销售业务--------------------------------------------------------------
  {
    path:'/sale',
    name:'sale',
    routes:[
      {
        path:'/sale',
        redirect:'/sale/quotation',
      },
      {
        path:'/sale/quotation',
        name:'quotation',
        component:'./sale/quotation',
      },
      {
        path:'/sale/priceschedule',
        name:'priceschedule',
        component:'./sale/priceSchedule',
      },
      {
        path:'/sale/order',
        name:'order',
        component:'./sale/order',
      },
      {
        path:'/sale/deliver',
        name:'deliver',
        component:'./sale/deliver',
      },
      {
        path:'/sale/report',
        name:'report',
        routes:[
          {
            path:'/sale/report',
            redirect:'/sale/report/pricePilot',
          },
          {
            path:'/sale/report/pricepilot',
            name:'pricepilot',
            component:'./sale/report/pricePilot',
          },
          {
            path:'/sale/report/orderprogress',
            name:'orderprogress',
            component:'./sale/report/orderProgress',
          },
          {
            path:'/sale/report/deliver',
            name:'deliver',
            component:'./sale/report/deliver',
          },
        ],
      },
    ],
  },
  // 库存业务-----------------------------------------------------------
  {
    path:'/stock',
    name:'stock',
    routes:[
      {
        path:'/stock',
        redirect:'/stock/stockin',
      },
      {
        path:'/stock/stockin',
        name:'stockin',
        component:'./stock/stockIn',
      },
      {
        path:'/stock/stockout',
        name:'stockout',
        component:'./stock/stockOut',
      },
      {
        path:'/stock/stockadjust',
        name:'stocksdjust',
        component:'./stock/stockAdjust',
      },
      {
        path:'/stock/stocktaking',
        name:'stocktaking',
        component:'./stock/stockTaking',
      },
      {
        path:'/stock/report',
        name:'stockreport',
        routes:[
          {
            path:'/stock/report',
            redirect:'/stock/report/currentstock',
          },
          {
            path:'/stock/report/currentstock',
            name:'currentstock',
            component:'./stock/report/currentStock',
          },
          {
            path:'/stock/report/stockin',
            name:'stockin',
            component:'./stock/report/stockIn',
          },
          {
            path:'/stock/report/stockout',
            name:'stockout',
            component:'./stock/report/stockOut',
          },
          {
            path:'/stock/report/stockpilot',
            name:'stockpilot',
            component:'./stock/report/stockPilot',
          },
        ],
      },
    ], 
  },
  // 系统设置-------------------------------------------------
  {
    path:'/setting',
    name:'setting',
    routes:[
           {
            path:'/setting',
            redirect:'/setting/about',
           },
           {
            path:'/setting/about',
            name:'about',
            component:'./setting/about',
           },
           {
            path:'/setting/params',
            name:'params',
            component:'./setting/params',
           },
           {
            path:'/setting/organization',
            name:'organization',
            component:'./setting/organization',
           },
            {
            path:'/setting/job',
            name:'job',
            component:'./setting/job',
           },
           {
            path:'/setting/user',
            name:'user',
            component:'./setting/user',
           },
           {
            path:'/setting/role',
            name:'role',
            component:'./setting/role',
           },
           {
            path:'/setting/grant',
            name:'grant',
            component:'./setting/grant',
           },
       ],
  }